<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="/style/cssMain.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/style/jQuery.js"></script>
    <script type="text/javascript" src="/style/jsMain.js"></script>
  </head>
  
  <body>
    <div id="eBody">
      <div class="eTitle"><?php echo $eID?'编辑':'添加'?>用户</div>
      <div class="eSpace"></div>
      <form action="<?php echo site_url('mang/users/action'); ?>?id=<?php echo $eID; ?>" method="post">
      <div class="eSheet">
        <?php echo validation_errors(); ?>
        <div class="eEdit">
          <dl>
            <dt>用户名</dt>
            <dd><input name="user" type="text" class="text" value="<?php echo set_value('user', $eUser); ?>" <?php echo ($eID > 0) ? 'readonly' : ''; ?> /></dd>
          </dl>
          <dl>
            <dt>用户密码</dt>
            <dd><input class="text" name="pass" type="password" value="<?php echo set_value('pass', $ePass); ?>" /></dd>
          </dl>
          <dl>
            <dt>重复密码</dt>
            <dd><input class="text" name="repe" type="password" value="<?php echo set_value('repe', $ePass); ?>" /></dd>
          </dl>
        </div>
      </div>
      <div class="eTool">
        <input class="button" type="submit" value="立即保存">
      </div>
      </form>
    </div>
    </div>
  </body>
</html>
